package com.zzqstart.cateservice.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * ClassName: RecipeQueryVo
 * Package: com.zzqstart.cateservice.entity.vo
 * Description:
 *
 * @Author zzqstart
 * @Create 2023-03-07 1:45
 * @Version 1.0
 */
@ApiModel(value = "菜谱查询对象", description = "菜谱查询对象封装")
@Data
@EqualsAndHashCode
public class RecipeQueryVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "菜谱名称")
    private String title;

    @ApiModelProperty(value = "发布者id")
    private String publisherId;

    @ApiModelProperty(value = "一级类别id")
    private String categoryParentId;

    @ApiModelProperty(value = "二级类别id")
    private String categoryId;

    @ApiModelProperty(value = "最新时间排序")
    private Boolean createTime =false;

    @ApiModelProperty(value = "收藏数排序")
    private Boolean collect = false;

    @ApiModelProperty(value = "评分排序")
    private Boolean grade =false;

    @ApiModelProperty(value = "是否打回")
    private Boolean isReturn = false;

    @ApiModelProperty(value = "是否收藏")
    private Boolean isCollect = false;

}